﻿using LoveEatRabbit.API.Read.DTOS;
using LoveEatRabbit.ErrorCode;
using MediatR;

namespace LoveEatRabbit.API.Read.Applications.Commands.Users
{
    /// <summary>
    /// 用户显示列表
    /// </summary>
    public class UserQueryCommand:IRequest<APIResult<APIPaging<UserDTO>>>
    {
        /// <summary>
        /// 当前页
        /// </summary>
        public int Indpage {  get; set; }
        /// <summary>
        /// 页容量
        /// </summary>
        public int Pagsize {  get; set; }
        /// <summary>
        /// 用户名称
        /// </summary>
        public string? UserName { get; set; }


    }
}
